package com.huopaolan.yohuoshop.Adapter.ViewPagerAdapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.huopaolan.yohuoshop.Bean.HomeMenuEntity;
import com.huopaolan.yohuoshop.R;

public class SlidingMenuAdapter extends BaseQuickAdapter<HomeMenuEntity.Values, BaseViewHolder> {
    public SlidingMenuAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, HomeMenuEntity.Values item) {
        helper.setText(R.id.tv_menu_name, item.menu_name);
    }
}
